package com.gudaomai.ekproject.entity;

import java.util.Date;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

/**
 * <p>
 * 页面
 * </p>
 *
 * @author zenghualu
 * @since 2017-06-26
 */
public class PageInput extends BaseInputEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	private String id;
	/**
	 * 名称
	 */
	@NotNull(message = "名称不能为空！")
	@NotBlank(message = "名称不能为空字符")
	private String name;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 扩展
	 */
	private String extJson;
	/**
	 * 更新者
	 */
	private String updateUser;
	/**
	 * 创建者
	 */
	private String createUser;
	/**
	 * 高度
	 */
	private String height;
	/**
	 * 逻辑删除
	 */
	private String deleted;
	/**
	 * html代码 : 生成的html代码
	 */
	private String html;
	/**
	 * 版本id
	 */
	private String versionId;
	/**
	 * 父id
	 */
	private String pid;
	/**
	 * 状态
	 */
	private String status;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 背景色
	 */
	private String backgroundColor;
	/**
	 * 所属项目
	 */
	@NotNull(message = "必须要有工程ID")
	@NotBlank(message = "工程id不可为空字符")
	private String projectId;
	/**
	 * 宽度
	 */
	private String width;
	/**
	 * note
	 */
	private String note;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getExtJson() {
		return extJson;
	}

	public void setExtJson(String extJson) {
		this.extJson = extJson;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getDeleted() {
		return deleted;
	}

	public void setDeleted(String deleted) {
		this.deleted = deleted;
	}

	public String getHtml() {
		return html;
	}

	public void setHtml(String html) {
		this.html = html;
	}

	public String getVersionId() {
		return versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getBackgroundColor() {
		return backgroundColor;
	}

	public void setBackgroundColor(String backgroundColor) {
		this.backgroundColor = backgroundColor;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getWidth() {
		return width;
	}

	public void setWidth(String width) {
		this.width = width;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}
